// 权限模块API
import request from '@/utils/request'

export const uploadPath = process.env.VUE_APP_BASE_API + 'apiManage/PicUpload'

export const baseUrl = process.env.VUE_APP_BASE_API.replace(':9503', '')

// 分类列表
export function getList(data) {
  return request({
    url: '/apiManage/C2cTypeList',
    method: 'post',
    data
  })
}

export function getPage(data) {
  return request({
    url: '/apiManage/UserPage',
    method: 'post',
    data
  })
}

export function statistics(data) {
  return request({
    url: '/apiManage/data/User',
    method: 'post',
    data
  })
}


export function statisticsGoods(data) {
  return request({
    url: '/apiManage/data/Goods',
    method: 'post',
    data
  })
}

export function statisticsOrder(data) {
  return request({
    url: '/apiManage/data/Order',
    method: 'post',
    data
  })
}

